This document assumes you are familiar with compiling ASM programs for the TI-83 Plus.

To compile a program save it as program.asm and type "duck program" in a DOS prompt. You will need TASM in the same directory as program.asm, duck.bat, asm73.exe, and devpac83.com.

Mallard has the same basic libraries as Ion and TSE for the 83+.

These libraries are defined at the bottom of mallard.inc:

Version
Random
PutSprite
LargeSprite
GetPixel
Decompress
FastCopy
LevelDetect

The ION-style names (ionRandom, et cetera) have also been equated to make porting from the 83+ easier.

Saferam areas are saferam1-5; again see the bottom of mallard.inc for further explanation. You can get started with saferam1 and saferam2 (768 bytes each). These saferam areas have been chosen to be as large or larger than their 83+ ION equivalents, to allow for easy porting of programs.


Mallard (DuckIE) program header:

.nolist
#include "mallard.inc
.list
.org userMem
	.db $D9,$00,"Duck"
	.dw Start
	.db "Example Program",0
Start:
	;program code begins here